# meta-name: SkillControlTemp
# meta-default: true
extends SkillControl

#region 属性
#endregion
#region 字段
#endregion
#region 信号
#endregion

#region 基类方法
## 初始化
func init(action_idx:int = -1) -> bool:
	if not super(action_idx):
		return false
	return true
## 开启
func start():
	if not super():
		return false
	return true
## 暂停
func pause():
	if not super():
		return false
	return true
## 重置
func reset():
	if not super():
		return false
	return true
## 结束
func stop():
	if not super():
		return false
	return true
#endregion
#region 公共方法
func on_sub_action_finished(action_idx:int,action_state:SkillActionState):
	cur_state = SkillActionState.SUCCESS
	action_finished.emit(cur_action_idx,cur_state)
#endregion
#region 私有方法
#endregion
#region 生命周期函数
func _get_configuration_warnings() -> PackedStringArray:
	var warnings = super._get_configuration_warnings()
	return warnings
#endregion
